GtkFileChooser: Show remote search results too
authorMatthias Clasen <mclasen@redhat.com>
Sat, 16 May 2015 04:38:21 +0000 (00:38 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 16 May 2015 04:48:36 +0000 (00:48 -0400)
There is no reason not to show them. Removing this
makes search on remote locations just work.

gtk/gtkfilechooserwidget.c

index eaaaf9b29b631988ba125e008e68b364fac11a91..5204a073f38ec4bfcd4f6549f37974e1c71e5dc0 100644 (file)
@@ -6106,12 +6106,6 @@ search_add_hit (GtkFileChooserWidget *impl,
   if (!file)
     return;
 
-  if (!g_file_is_native (file))
-    {
-      g_object_unref (file);
-      return;
-    }
-
   priv->search_model_empty = FALSE;
 
   _gtk_file_system_model_add_and_query_file (priv->search_model,